import { Http } from '@/utils/http'

/**
 * 获取全部用户信息
 * @returns 
 */
export function requestAllUserInfo ()  {
    return Http.request({
        url: '/user/getAllUserInfo',
        method: 'get',
    })
}

/**
 * 根据uid/账号查找用户信息
 * @returns 
 */
export function requestSearchUserInfoByUidOrUserId (data: any)  {
    return Http.request({
        url: '/user/findUserByUidOrUserId',
        method: 'post',
        data: data
    })
}

/**
 * 根据uid删除用户
 * @returns 
 */
export function requestDeleteUserById (data: any)  {
    return Http.request({
        url: '/user/deleteUserById',
        method: 'post',
        data: data
    })
}

